﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Admin.aspx.cs" Inherits="Admin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="Server">
    <label>
        Welcome to admin panel</label>
    <h1>
        Book Manager</h1>
    <div class="horizontal_split">
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            DataKeyNames="item_id" DataSourceID="LinqDataSource1">
            <Columns>
                <asp:BoundField DataField="item_id" HeaderText="BookID" InsertVisible="False" ReadOnly="True"
                    SortExpression="item_id" />
                <asp:BoundField DataField="category_id" HeaderText="CategoryID" SortExpression="category_id" />
                <asp:BoundField DataField="name" HeaderText="Name" SortExpression="name" />
                <asp:BoundField DataField="author" HeaderText="Author" SortExpression="author" />
                <asp:BoundField DataField="price" HeaderText="Price" SortExpression="price" />
                <asp:BoundField DataField="is_recommended" HeaderText="is_recommended" SortExpression="is_recommended" />
            </Columns>
        </asp:GridView>
    </div>
    <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="BookStoreDataContext"
        EntityTypeName="" TableName="items">
    </asp:LinqDataSource>
    <table>
        <tr>
            <td>
            </td>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>
